module WebsitesinfsHelper
 def name1_column(record)     
    link_to(h(record.name1), :action=>:show,:inline => true,:position => :after, :type => :record, :id => record.id,:_method=>:get)   
 end 
 
  def last_updated_at_column(record) 
    if record.last_updated_at.nil? 
      "" 
    else   
      record.last_updated_at.strftime("%d/%m/%Y %H:%M:%S")
    end
  end
  
  def last_accessed_at_column(record)    
    if record.last_accessed_at.nil? 
      "" 
    else
      record.last_accessed_at.strftime("%d/%m/%Y %H:%M:%S")
    end
  end



end
